package com.youxin.busfoundation.enums;

/**
 * 企业认证
 * @author yingde.cao
 *
 */
public enum EnterpriseIdentifyStatus {	
	/**
	 * 未认证
	 */
	UnAuthenticated((short)0),
	/**
	 * 已认证
	 */
	Authenticated((short)1),
	/**
	 * 已解除
	 */
	Unbind((short)2)
	;
	
	public short getValue() {
		return value;
	}
	
	private short value;
	private EnterpriseIdentifyStatus(short value) {
		this.value = value;
	}
	
	public static EnterpriseIdentifyStatus valueOf(short val)
	{			
		for(EnterpriseIdentifyStatus m : EnterpriseIdentifyStatus.values()) 
		{
			if(val==m.getValue())
				return m;
	    }
		return null;
	}
	
	
	
}
